package com.jic.market.request.rest.coupon;

import com.jic.market.request.rest.base.RestBaseRequest;
import com.jic.market.request.rest.discount.PromotionGoods;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author wwb
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("结算页查询用户可用优惠券列表")
public class SettlementMyCouponRequest extends RestBaseRequest {

    @ApiModelProperty("选中券codeList")
    private List<SettlementCouponRequest> settlementCouponRequestList;

    @NotNull(message = "缺少 登录token 参数")
    @ApiModelProperty(value = "登录token", required = true)
    private String token;

    @ApiModelProperty(value = "商品List", required = true)
    private List<PromotionGoods> settlementProductList;

    @ApiModelProperty(value = "渠道", required = false)
    private String channelCode;
}
